<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="format-detection" content="telephone=no">
    <link href="../../../sdk/ui.css" rel="stylesheet">
    <link href="style.css" rel="stylesheet">
    <script>
    //Android适配rem
    if (/Android (\d+\.\d+)/.test(navigator.userAgent)) {
      var version = parseFloat(RegExp.$1);
      if (version /*< 4.4*/) {
        var phoneScale = window.screen.availWidth / 640;
        var rootSize = parseInt(phoneScale * 100) + 'px';
        document.documentElement.style.fontSize = rootSize;
      }
    }
    </script>
  </head>
  <body class="flex-col">
    <div class="head myhead">
      <div class="btn" id="goBack">
        <i class="ion">&#xe7b7;</i>
      </div>
      <div class="title" id="headTitle">
        <form class="item item-input-inset" id="keyForm">
          <label class="item-input-wrapper">
            <input type="search" placeholder="请输入关键词" id="autoInp">
          </label>
          <button type="submit" class="btn button-ghost">
            确定
          </button>
        </form>
      </div>
    </div>
    <div class="flex-1 pr">
      <div class="list searchHistory">
        <div class="item item-divider">搜索历史</div>
        <div class="item label-list" id="searchHistory"></div>
      </div>
      <div class="list searchResult" id="searchResult"></div>
    </div>
    <textarea class="hide" id="searchResultTemp">
      <!-- for: ${data} as ${item} -->
      <div class="item">${item.data}</div>
      <!-- /for -->
      </textarea>
  </body>
  <script src="../../../config.js"></script><script src="../../../sdk/modules/core.js" id="seajsnode" ></script>
  <script>
  seajs.use('./script')
  </script>
</html>